473,484 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Reuse a drop down list

2 New Member
I am working on an old classic asp purchasing system which has a header and lines screen.

On the lines screen there are a number of drop down lists <select> items. They have close to a thousand <options> within them and there could be 20 lines.

This leads to a considerable ammount of HTML.

Is it possible to reuse the source of one element. I.e popup the same list everytime.

Ideally I would creaet a select with just one option, they current selected value held in the database. When the user clicks the select the rest of the items are added to the list dynamically.

can that be done?
Nov 27 '07 #1
5 3142
Death Slaught
1,137 Top Contributor
I am working on an old classic asp purchasing system which has a header and lines screen.

On the lines screen there are a number of drop down lists <select> items. They have close to a thousand <options> within them and there could be 20 lines.

This leads to a considerable ammount of HTML.

Is it possible to reuse the source of one element. I.e popup the same list everytime.

Ideally I would creaet a select with just one option, they current selected value held in the database. When the user clicks the select the rest of the items are added to the list dynamically.

can that be done?
HTML/CSS can't do this, JavaScript or PHP would be the way to go.

Thanks, Death
Nov 27 '07 #2
sross90
2 New Member
Can I just use an array and the items?

Or alternatively

Cant I just set up a div tag, output the contents of the select into there and change its location as and when the user clicks an item?
Nov 27 '07 #3
Death Slaught
1,137 Top Contributor
Can I just use an array and the items?

Or alternatively

Cant I just set up a div tag, output the contents of the select into there and change its location as and when the user clicks an item?
Ask in the JavaScript forum.

- Death
Nov 27 '07 #4
ift40458
13 New Member
Hi sross90...


problem was not clear.


if you can express your problem a bit more clear with the help of examples,

I've worked on problems like this, that's why i am asking you again for clarity of your problem.

Best Regards,
ift40458
Nov 28 '07 #5
drhowarddrfine
7,435 Recognized Expert Expert
ift40458,
Please do not use shorthand words. Many of our visitors do not speak English as a first language.
Nov 28 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
6135
by: Don Wash | last post by:
Hi There! I have a Server-side Drop-down box in ASP.NET (VB) page. What do I do to widen the Drop down box's Pull-Down list's width? I'm not talking about the Drop-down box's width but the box...
2
12594
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
4
9270
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
3
7326
by: penny111 | last post by:
Hi there, For my application, i need to have 3 drop down lists 1. drop down list of folder names 2. drop down list of documents in the folder selected 3. drop down list of instances of the...
0
7080
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6950
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7209
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5403
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4841
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3038
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1355
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
588
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
234
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.